<?php echo $javascript->link('jquery.ui.datepicker-es'); ?>
<script>
    $(document).ready(function(){
        $(".campofecha").datepicker({
		
            showOn: 'both',
            buttonImage: './img/calendar.jpg',
            buttonImageOnly: true,
            changeYear: true,
            numberOfMonths: 1
                
        });

        $('#orden').change(function() {

          
            selectDiv();


        });

       
    })
 


</script>


<?php echo $this->Session->flash(); ?>

<fieldset>
    <?php
    echo $form->create('Claim');
    echo $form->hidden("Claim.id");
    echo $form->input("Claim.concepto_territorial", array('label' => "Decisión", 'class' => 'txtarea'));
    echo $form->input("Claim.calificacion_territorial", array('label' => "Calificación", 'options' => array('Sin registro' => 'Sin registro', 'Cumple' => 'Habilitado', 'No cumple' => 'Rechazado')));
    echo $form->input("Claim.reviso_territorial", array('label' => 'NOMBRE DE LA PERSONA QUE AVALA EL CONCEPTO'));
    echo $form->input("Claim.preparo_territorial", array('label' => 'NOMBRE DE LA PERSONA QUE REALIZA EL NUEVO ESTUDIO EN LA DT'));
    if ($this->Session->read('estado') == 0)
        echo $ajax->submit('Guardar', array('url' => array('controller' => 'Claims', 'action' => 'territorial_calification', $this->data['Claim']['id']), 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'));
    echo $form->end();
    echo "<br><br>";
    ?>
</fieldset>
<?php echo $ajax->link($html->image("regresar.gif", array('width' => '30', 'heigth' => '30', 'alt' => 'regresar', 'align' => 'center')), array('controller' => 'Claims', "action" => "recalification_index", $this->data['Claim']['id']), array('escape' => false, 'update' => 'content', 'complete' => '', 'indicator' => 'loadz')); ?>



